﻿@using Three2.Models
@model Employee

<div class="row">
    <div class="col-md-12">
        <form asp-action="Add">
            <input type="hidden" asp-for="DepartmentId" />
            <div class="form-group">
                <label asp-for="FirstName"></label>
                <input class="form-control" asp-for="FirstName">
            </div>
            <div class="form-group">
                <label asp-for="LastName"></label>
                <input class="form-control" asp-for="LastName">
            </div>
            <div class="form-group">
                <label asp-for="Gender"></label>
                <select class="form-control" asp-for="Gender" asp-items="Html.GetEnumSelectList<Gender>()">
                    <option>Default select</option>
                </select>
            </div>
            <button type="submit" class="btn btn-primary">Submit</button>
        </form>
    </div>
</div>